#ifndef REGISTERBOX_H
#define REGISTERBOX_H

#include <QWidget>
#include <QTcpSocket>
#include <QDebug>
#include <QMessageBox>
#include <QSqlDatabase>
#include <QSqlQuery>

namespace Ui {
class RegisterBox;
}

class RegisterBox : public QWidget
{
    Q_OBJECT

public:
    explicit RegisterBox(QWidget *parent = 0);
    ~RegisterBox();

private slots:
    void on_pushButtonConfirm_clicked();

private:
    Ui::RegisterBox *ui;

    QTcpSocket *registerSocket;

    void sendNewData(QString account, QString password);
};

#endif // REGISTERBOX_H
